package com.yanqu.xiuxian.gameserver.tripletown.entity;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 三消-格子
 */
public class Block {

    private int x;
    private int y;
    private int c;

    @JSONField(serialize = false)
    private long score;

    @JSONField(serialize = false)
    private boolean isEliminate = false;

    @JSONField(serialize = false)
    private boolean isAttack = false;

    @JSONField(serialize = false)
    private long attackDamage;

    @JSONField(serialize = false)
    private long attackScore;

    @JSONField(serialize = false)
    private int monsterId;

    public Block(int x, int y, int c) {
        this.x = x;
        this.y = y;
        this.c = c;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getC() {
        return c;
    }

    public void setC(int c) {
        this.c = c;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }

    public boolean isEliminate() {
        return isEliminate;
    }

    public void setEliminate(boolean eliminate) {
        isEliminate = eliminate;
    }

    public boolean isAttack() {
        return isAttack;
    }

    public void setAttack(boolean attack) {
        isAttack = attack;
    }

    public long getAttackDamage() {
        return attackDamage;
    }

    public void setAttackDamage(long attackDamage) {
        this.attackDamage = attackDamage;
    }

    public long getAttackScore() {
        return attackScore;
    }

    public void setAttackScore(long attackScore) {
        this.attackScore = attackScore;
    }

    public int getMonsterId() {
        return monsterId;
    }

    public void setMonsterId(int monsterId) {
        this.monsterId = monsterId;
    }

}
